home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{BC211913-B646-4281-A764-B6E2D473D3F6.ocx}#1.1#0"; "ciaXPSelectionControls.ocx"
- Begin VB.Form Form1
- Caption = "CheckBox and Option Button Example"
- ClientHeight = 2265
- ClientLeft = 60
- ClientTop = 450
- ClientWidth = 7290
- LinkTopic = "Form1"
- LockControls = -1 'True
- Picture = "Form1.frx":0000
- ScaleHeight = 2265
- ScaleWidth = 7290
- StartUpPosition = 3 'Windows Default
- Begin ciaXPSelectionControls.XPOption XPOption2
- Height = 330
- Left = 2835
- TabIndex = 4
- Top = 1170
- Width = 1455
- _ExtentX = 2566
- _ExtentY = 582
- Caption = "XPOption2"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- End
- Begin ciaXPSelectionControls.XPOption XPOption1
- Height = 330
- Left = 2835
- TabIndex = 3
- Top = 765
- Width = 1455
- _ExtentX = 2566
- _ExtentY = 582
- Caption = "XPOption1"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- End
- Begin ciaXPSelectionControls.XPCheckBox chkTransparent
- Height = 330
- Left = 750
- TabIndex = 2
- Top = 765
- Width = 1455
- _ExtentX = 2566
- _ExtentY = 582
- Caption = "XPCheckBox1"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- End
- Begin ciaXPSelectionControls.XPOption XPOption3
- Height = 330
- Left = 4395
- TabIndex = 5
- Top = 765
- Width = 1455
- _ExtentX = 2566
- _ExtentY = 582
- Caption = "XPOption1"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- GroupID = 1
- End
- Begin ciaXPSelectionControls.XPOption XPOption4
- Height = 330
- Left = 4395
- TabIndex = 6
- Top = 1170
- Width = 1455
- _ExtentX = 2566
- _ExtentY = 582
- Caption = "XPOption2"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- GroupID = 1
- End
- Begin VB.Label Label2
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "Group 1"
- Height = 195
- Left = 4785
- TabIndex = 1
- Top = 1695
- Width = 570
- End
- Begin VB.Label Label1
- AutoSize = -1 'True
- BackStyle = 0 'Transparent
- Caption = "Group 0"
- Height = 195
- Left = 3135
- TabIndex = 0
- Top = 1695
- Width = 570
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub chkTransparent_Click()
- If chkTransparent.Value = Checked Then chkTransparent.Style = ciaTransparent Else chkTransparent.Style = ciaStandard
- If chkTransparent.Value = Checked Then XPOption1.Style = ciaTransparent Else XPOption1.Style = ciaStandard
- If chkTransparent.Value = Checked Then XPOption2.Style = ciaTransparent Else XPOption2.Style = ciaStandard
- If chkTransparent.Value = Checked Then XPOption3.Style = ciaTransparent Else XPOption3.Style = ciaStandard
- If chkTransparent.Value = Checked Then XPOption4.Style = ciaTransparent Else XPOption4.Style = ciaStandard
- End Sub
-